﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Longer.aspx.cs" Inherits="WebApplication1.Daywtwo.Longer" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
         <div>
             <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><asp:Button ID="Button1" runat="server" Text="查找" OnClick="Button1_Click" />
         </div>
        <div>
            <table>
            
                  <tr>
                   <td>姓名：</td> 
                   <td>
                       <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                   </td> 
                </tr>
                  <tr>
                   <td>邮箱：</td> 
                   <td>
                       <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
                   </td> 
                </tr>
                  <tr>
                   <td>信息：</td> 
                   <td>
                       <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
                   </td> 
                </tr>
                  <tr>
                
                   <td colspan="2">
                       <asp:Button ID="Button2" runat="server" Text="插入" OnClick="Button2_Click" /><asp:Literal ID="Literal1" runat="server"></asp:Literal>
                   </td> 
                </tr>
            </table>
        </div>
        <div>
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing1" OnRowUpdating="GridView1_RowUpdating">
                <Columns>
                    <asp:BoundField DataField="stu_id" HeaderText="学号" />
                    <asp:BoundField DataField="stu_name" HeaderText="姓名" />
                    <asp:BoundField DataField="gender" HeaderText="性别" />
                    <asp:BoundField DataField="email" HeaderText="邮箱" />
                    <asp:BoundField DataField="intro" HeaderText="信息" />
                    <asp:BoundField DataField="head_image" HeaderText="照片" />
                    <asp:BoundField DataField="role_id" HeaderText="角色" />
                    <asp:BoundField DataField="password" HeaderText="密码" />
                    <asp:CommandField HeaderText="编辑" ShowEditButton="True" ShowHeader="True" />
                    <asp:CommandField HeaderText="删除" ShowDeleteButton="True" ShowHeader="True" />
                </Columns>
            </asp:GridView>
        </div>
    </form>
</body>
</html>
